package com.czwj.dao;

import java.util.Date;
import java.util.List;
import java.util.Map;

import com.czwj.entities.SafetyInspection;

public interface SafetyInspectionMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SafetyInspection record);

    int insertSelective(SafetyInspection record);

    SafetyInspection selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SafetyInspection record);

    int updateByPrimaryKeyWithBLOBs(SafetyInspection record);

    int updateByPrimaryKey(SafetyInspection record);

	List<String> existinspection(Map<String, Object> map);

	List<SafetyInspection> findoneday(Map<String, Object> map);

	/**
	 * @param map 
	* @Title: selectTosafe
	* @Description: TODO
	* @return 参数 
	* @return List<SafetyInspection> 返回类型
	* @throws
	*/
	List<SafetyInspection> selectTosafe(Map<String,Object> map);

	/**
	* @Title: selectTosafeInfo
	* @Description: TODO
	* @param map
	* @return 参数 
	* @return List<SafetyInspection> 返回类型
	* @throws
	*/
	List<SafetyInspection> selectTosafeInfo(Map<String,Object> map);

	/**
	* @Title: updateStatus
	* @Description: TODO
	* @param date
	* @return 参数 
	* @return int 返回类型
	* @throws
	*/
	int updateStatus(Date date);
}